<?php

namespace common\logic\sms;


class Configs{
    /**
     *
     * @var int success
     */
    const OK = 0;
    
    /**
     * 请求参数缺失
     */
    const ARGUMENT_MISSING = 1;
    
    const smsapikey = '1588a109eaa5216ca9a35a0f42a696f3';
    const smsurl = 'https://sms.yunpian.com/v2/';
    
    const smsexpire = 90;
    const single_send_https = 'sms/single_send.json';
    const batch_send_https = 'sms/batch_send.json';
    
    const tpl_single_send_https = 'sms/tpl_single_send.json';
    const template_id = 2877776;
    
    public static function getSmsApiKey(){
        return self::smsapikey;
    }
    
    public static function getSmsUrl(){
        return self::smsurl;
    }
    
    public static function getSmsExpire(){
        return self::smsexpire;
    }
    
    
    public static function getTemplateId(){
        return self::template_id;
    }
    
    public static function getSingleSendHttp(){
        return self::single_send_https;
    }
    
    public static function getBatchSendHttp(){
        return self::batch_send_https;
    }
    
    public static function getTplSingleSendHttp(){
        return self::tpl_single_send_https;
    }
}
